package com.woniuxy.rabbit.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "finance-gateway",path = "order-server")
public interface OrderFeign {
    @PostMapping("/addOrder")
    String addOrder(@RequestParam("skuId") Integer skuId);
}
